﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C97 RID: 3223
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OHCCLGAHGFP : IMessage<OHCCLGAHGFP>, IMessage, IEquatable<OHCCLGAHGFP>, IDeepCloneable<OHCCLGAHGFP>, IBufferMessage
	{
		// Token: 0x1700288D RID: 10381
		// (get) Token: 0x06008FFE RID: 36862 RVA: 0x0017E430 File Offset: 0x0017C630
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OHCCLGAHGFP> Parser
		{
			get
			{
				return OHCCLGAHGFP._parser;
			}
		}

		// Token: 0x1700288E RID: 10382
		// (get) Token: 0x06008FFF RID: 36863 RVA: 0x0017E437 File Offset: 0x0017C637
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OHCCLGAHGFPReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700288F RID: 10383
		// (get) Token: 0x06009000 RID: 36864 RVA: 0x0017E449 File Offset: 0x0017C649
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OHCCLGAHGFP.Descriptor;
			}
		}

		// Token: 0x06009001 RID: 36865 RVA: 0x0017E450 File Offset: 0x0017C650
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OHCCLGAHGFP()
		{
		}

		// Token: 0x06009002 RID: 36866 RVA: 0x0017E458 File Offset: 0x0017C658
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OHCCLGAHGFP(OHCCLGAHGFP other) : this()
		{
			this.iFAJDNNCHMN_ = ((other.iFAJDNNCHMN_ != null) ? other.iFAJDNNCHMN_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009003 RID: 36867 RVA: 0x0017E48D File Offset: 0x0017C68D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OHCCLGAHGFP Clone()
		{
			return new OHCCLGAHGFP(this);
		}

		// Token: 0x17002890 RID: 10384
		// (get) Token: 0x06009004 RID: 36868 RVA: 0x0017E495 File Offset: 0x0017C695
		// (set) Token: 0x06009005 RID: 36869 RVA: 0x0017E49D File Offset: 0x0017C69D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGHBHAIGMG IFAJDNNCHMN
		{
			get
			{
				return this.iFAJDNNCHMN_;
			}
			set
			{
				this.iFAJDNNCHMN_ = value;
			}
		}

		// Token: 0x06009006 RID: 36870 RVA: 0x0017E4A6 File Offset: 0x0017C6A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OHCCLGAHGFP);
		}

		// Token: 0x06009007 RID: 36871 RVA: 0x0017E4B4 File Offset: 0x0017C6B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OHCCLGAHGFP other)
		{
			return other != null && (other == this || (object.Equals(this.IFAJDNNCHMN, other.IFAJDNNCHMN) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009008 RID: 36872 RVA: 0x0017E4E8 File Offset: 0x0017C6E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.iFAJDNNCHMN_ != null)
			{
				num ^= this.IFAJDNNCHMN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009009 RID: 36873 RVA: 0x0017E524 File Offset: 0x0017C724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600900A RID: 36874 RVA: 0x0017E52C File Offset: 0x0017C72C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600900B RID: 36875 RVA: 0x0017E535 File Offset: 0x0017C735
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.iFAJDNNCHMN_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.IFAJDNNCHMN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600900C RID: 36876 RVA: 0x0017E568 File Offset: 0x0017C768
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.iFAJDNNCHMN_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IFAJDNNCHMN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600900D RID: 36877 RVA: 0x0017E5A8 File Offset: 0x0017C7A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OHCCLGAHGFP other)
		{
			if (other == null)
			{
				return;
			}
			if (other.iFAJDNNCHMN_ != null)
			{
				if (this.iFAJDNNCHMN_ == null)
				{
					this.IFAJDNNCHMN = new OJGHBHAIGMG();
				}
				this.IFAJDNNCHMN.MergeFrom(other.IFAJDNNCHMN);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600900E RID: 36878 RVA: 0x0017E5FC File Offset: 0x0017C7FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600900F RID: 36879 RVA: 0x0017E608 File Offset: 0x0017C808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.iFAJDNNCHMN_ == null)
					{
						this.IFAJDNNCHMN = new OJGHBHAIGMG();
					}
					input.ReadMessage(this.IFAJDNNCHMN);
				}
			}
		}

		// Token: 0x040036E2 RID: 14050
		private static readonly MessageParser<OHCCLGAHGFP> _parser = new MessageParser<OHCCLGAHGFP>(() => new OHCCLGAHGFP());

		// Token: 0x040036E3 RID: 14051
		private UnknownFieldSet _unknownFields;

		// Token: 0x040036E4 RID: 14052
		public const int IFAJDNNCHMNFieldNumber = 5;

		// Token: 0x040036E5 RID: 14053
		private OJGHBHAIGMG iFAJDNNCHMN_;
	}
}
